package club.gskj.gulimall.order.feign;

import club.gskj.gulimall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("gulimall-shoppingcart")
public interface CartFeignService {

    /***
     *  获取当前用户的 购物项列表
     */
    @GetMapping("/getCurrentUserCartItems")
    public List<OrderItemVo> getCurrentUserCartItems();
}
